package vote.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("user_vote")
public class UserVote {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private LocalDate voteDate;
    private String area;//分类
    private Long itemId;//投票项目Id
    private String userIp;
    private LocalDateTime createAt;
}
